package com.yj.web.WeChat.Message;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import com.yj.web.util.XStreamCDataConverter;

/**
 * Created by yanlinyang on 2017/9/12.
 */
@XStreamAlias("xml")
public class WxXmlOutTextMessage extends WxXmlOutMessage {
    private static final long serialVersionUID = -3972786455288763361L;

    @XStreamAlias("Content")
    @XStreamConverter(value = XStreamCDataConverter.class)
    private String content;

    public WxXmlOutTextMessage() {
        this.msgType = "text";
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

}
